/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"3531CEF3-A88F-4CB6-9820-4D62D31301C9"}
 */
function iraDtl(event) {
	forms.turnos_ficha_clinica_dtl.controller.show()
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"10E0ED00-9BE6-4152-850F-09D2B870A453"}
 */
function cerrar(event) {
	application.closeFormDialog('FICHA')
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"FC6AA3AF-7A39-491C-B734-894C5EC8EF17"}
 */
function agregar(event) {
	databaseManager.setAutoSave(false)
	controller.newRecord()
	iraDtl()
}
